<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/view/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>网上报名-合肥猎头网</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${contextPath}/view/css/user.css"
	type="text/css" />
<link rel="stylesheet"
	href="${contextPath}/jquery/themes/jquery.ui.theme.css" />
<link rel="stylesheet" href="${contextPath}/jquery/themes/jquery-ui.css" />
<link rel="stylesheet"
	href="${contextPath}/jquery/addons/jquery-ui-timepicker-addon.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script src="${contextPath}/ckeditor/ckeditor.js"></script>
<script src="${contextPath}/jquery/jquery-1.9.1.js"></script>
<script src="${contextPath}/jquery/ui/jquery.ui.core.js"></script>
<script src="${contextPath}/jquery/ui/jquery.ui.widget.js"></script>
<script src="${contextPath}/jquery/ui/jquery.ui.mouse.js"></script>
<script src="${contextPath}/jquery/ui/jquery.ui.slider.js"></script>
<script src="${contextPath}/jquery/ui/jquery.ui.datepicker.js"></script>
<script src="${contextPath}/jquery/addons/jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript">
<!--
	$(function() {
		$("#publishDate").datetimepicker({
			timeFormat : "HH:mm",
			dateFormat : "yy/mm/dd"
		});
		$("#applyBeginDate").datetimepicker({
			timeFormat : "HH:mm",
			dateFormat : "yy/mm/dd"
		});
		$("#applyDeadDate").datetimepicker({
			timeFormat : "HH:mm",
			dateFormat : "yy/mm/dd"
		});
		$("#admissionPrintStart").datetimepicker({
			timeFormat : "HH:mm",
			dateFormat : "yy/mm/dd"
		});
		$("#admissionPrintEnd").datetimepicker({
			timeFormat : "HH:mm",
			dateFormat : "yy/mm/dd"
		});
		$("#scorePublishDate").datetimepicker({
			timeFormat : "HH:mm",
			dateFormat : "yy/mm/dd"
		});
		$("#examDate").datepicker({
			dateFormat : "yy/mm/dd"
		});
		$('#examTimeFrom').timepicker({
			timeFormat : "HH:mm",
		});
		$('#examTimeTo').timepicker({
			timeFormat : "HH:mm",
		});
		$("#payStartDate").datetimepicker({
			timeFormat : "HH:mm",
			dateFormat : "yy/mm/dd"
		});
		$("#payEndDate").datetimepicker({
			timeFormat : "HH:mm",
			dateFormat : "yy/mm/dd"
		});
	});

	var editor;
	function createEditor(languageCode) {
		if (editor) {
			editor.destroy();
		}
		// Replace the <textarea id="content"> with an CKEditor
		// instance, using default configurations.
		editor = CKEDITOR.replace('contents', {
			language : languageCode,
		});
	}
//-->
</script>
</head>
<body>
	<%@include file="/view/adminMenu.jsp"%>
	<form:form name="announcementEditForm" method="post"
		action="${contextPath}/announcementEdit.action"
		commandName="AnnouncementEditCommand">
		<form:hidden path="id" />
		<div class="midBox">
			<div class="midTitle">公告追加/编辑</div>
			<div class="cnt">
				<table width="100%" border="0" cellpadding="0" cellspacing="1"
					bgcolor="#E1E1E1">
					<tr bgcolor="#FFFFFF">
						<td valign="top" align="center" height="300"
							style="padding-top: 15px;">
							<table width="90%" border="0" cellpadding="4" cellspacing="1"
								bgcolor="#E1E1E1">
								<tr bgcolor="#f7f7f7">
									<td align="right"><font color="#ff0000">*</font>名称：</td>
									<td align="left"><form:input path="name" maxlength="32"
											size="15" cssClass="bbsInput_long" /> <font color="#ff0000">&nbsp;&nbsp;<form:errors
												path="name" /></font></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right"><font color="#ff0000">*</font>内容：</td>
									<td align="left"><form:textarea path="contents" cols="50"
											rows="4" /><font color="#ff0000">&nbsp;&nbsp;<form:errors
												path="contents" /></font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right"><font color="#ff0000">*</font>发布日期：</td>
									<td align="left"><form:input path="publishDate"
											id="publishDate" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;&nbsp;2013/01/01 09:00<font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="publishDate" /></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right"><font color="#ff0000">*</font>报名开始时间：</td>
									<td align="left"><form:input path="applyBeginDate"
											id="applyBeginDate" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;&nbsp;2013/01/01 09:00<font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="applyBeginDate" />
									</font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right"><font color="#ff0000">*</font>报名结束时间：</td>
									<td align="left"><form:input path="applyDeadDate"
											id="applyDeadDate" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;&nbsp;2013/01/01 09:00<font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="applyDeadDate" />
									</font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right" nowrap="nowrap"><font color="#ff0000">*</font>准考证打印开始时间：</td>
									<td align="left"><form:input path="admissionPrintStart"
											id="admissionPrintStart" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;&nbsp;2013/01/01 09:00<font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="admissionPrintStart" />
									</font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right" nowrap="nowrap"><font color="#ff0000">*</font>准考证打印结束时间：</td>
									<td align="left"><form:input path="admissionPrintEnd"
											id="admissionPrintEnd" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;&nbsp;2013/01/01 09:00<font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="admissionPrintStart" />
									</font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right"><font color="#ff0000">*</font>考试日期：</td>
									<td align="left"><form:input path="examDate" id="examDate"
											maxlength="32" size="15" cssClass="bbsInput_short" />&nbsp;&nbsp;2013/01/01
										<font color="#ff0000">&nbsp;&nbsp;<form:errors
												path="examDate" /></font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right"><font color="#ff0000">*</font>考试时间：</td>
									<td align="left"><form:input path="examTimeFrom"
											id="examTimeFrom" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;~&nbsp;<form:input
											path="examTimeTo" id="examTimeTo" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;&nbsp;08:00~11:00<font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="examTime" /></font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right">考试成绩发布时间：</td>
									<td align="left"><form:input path="scorePublishDate"
											id="scorePublishDate" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;&nbsp;2013/01/01 09:00<font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="scorePublishDate" /></font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right">考点名称：</td>
									<td align="left"><form:input path="examName"
											maxlength="32" size="15" cssClass="bbsInput_short" /><font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="examName" /></font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right">考点地址：</td>
									<td align="left"><form:input path="examPosition"
											maxlength="32" size="15" cssClass="bbsInput_short" /><font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="examPosition" /></font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right">在线支付：</td>
									<td align="left"><form:checkbox path="onlinePay" value="1"
											/></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right">报名费用：</td>
									<td align="left"><form:input path="regFee" maxlength="32"
											size="15" cssClass="bbsInput_short" /><font color="#ff0000">&nbsp;&nbsp;<form:errors
												path="regFee" /></font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right">支付开始时间：</td>
									<td align="left"><form:input path="payStartDate"
											id="payStartDate" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;&nbsp;2013/01/01 09:00<font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="payStartDate" /></font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td align="right">支付结束时间：</td>
									<td align="left"><form:input path="payEndDate"
											id="payEndDate" maxlength="32" size="15"
											cssClass="bbsInput_short" />&nbsp;&nbsp;2013/01/01 09:00<font
										color="#ff0000">&nbsp;&nbsp;<form:errors
												path="payEndDate" /></font></td>
								</tr>
								<tr bgcolor="#f7f7f7">
									<td height="22" colspan="4">
										<div align="center">
											<input type="submit" value="确定" />&nbsp;&nbsp;
											<input type="reset" value="清除" />
											&nbsp;&nbsp;<input type="button" value="返回"
												style="width: 50px;"
												onclick="javascript:document.location='${contextPath}/announcementList.action'" />
										</div>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</div>
		</div>
	</form:form>
	<%@include file="/view/footer.jsp"%>
</body>
<script type="text/javascript">
<!--
	createEditor('zh-cn');
//-->
</script>
</html>